﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/account_1109.css">

<title>个人资料-个人档案</title>
</head>

<body>
<form name="form1" id="form1" method="post" action="?act=submit" target="hidFrame">
<div class="account_base_div">
   <img src="img/grda.gif" border="0" />
  <div class="border_div">
  <div class="grda">
  <p><b>让我们更多的了解您，以便为您提供更好的服务，请您填写一份简单的调查问卷。</b></p>
  
  <p><b>1、</b>请问您的婚姻状况：</p>
  <p class="no_b"><input type="radio" name="is_married" value="0" checked="checked" class="radio fl" onclick="showlayer('is_parent','none'); parent.initHeight();" /><label class="fl">未婚</label><input type="radio" class="radio fl" name="is_married" value="1" onclick="showlayer('is_parent',''); parent.initHeight();" /><label class="fl">已婚</label>
<span id="is_parent" style='display:none' class="fl"><span class="fl">( </span>
		<b class="fl">*</b><span class="fl">请问您是否有子女：</span>
			<input type="radio"  name="is_parent"  class="radio fl" value="1" /><label class="fl">有</label>
			<input type="radio"  name="is_parent" value="0" class="radio fl" checked="checked" /><label class="fl">暂无 )</label>
	</span></p>



<p><b class="fl">2、</b><span class="fl">请问您从事的职业：</span>
<select name="vocation" class="fl">
    <option value="0">请选择</option>
    <option value="1">学生</option>
    <option value="2">高层管理</option>
    <option value="3">中层干部</option>
    <option value="4">私营业主</option>
    <option value="5">个体业主</option>
    <option value="6">销售/市场</option>
    <option value="7">策划</option>
    <option value="8">技术</option>
    <option value="9">科研/研发</option>
    <option value="10">设计</option>
    <option value="11">生产/采购</option>
    <option value="12">财务</option>
    <option value="13">人事/行政</option>
    <option value="14">文秘/助理</option>
    <option value="15">咨询/培训</option>
    <option value="16">普通职员</option>
    <option value="17">高级职员</option>
    <option value="18">公务员</option>
    <option value="19">机关干部</option>
    <option value="20">教师</option>
    <option value="21">军人</option>
    <option value="22">警察</option>
    <option value="23">医生</option>
    <option value="24">护士</option>
    <option value="25">艺术</option>
    <option value="26">演艺</option>
    <option value="27">记者/编辑</option>
    <option value="28">体育</option>
    <option value="29">律师</option>
    <option value="30">专业人士</option>
    <option value="31">soho</option>
    <option value="32">其他职业</option>
    </select>
  </p>

	<p><b class="fl">3、</b><span class="fl">	您是否买过成人用品？如果有，在哪里买的？</span>	
	</p>
    <p class="no_b">
    <input type="radio" checked="checked" name="rad" value="" class="radio fl" id="yes_01"/><label class="fl" for="yes_01">实体店</label>
	 <input type="radio" name="rad"   value="" class="radio fl" id="yes_02"/><label class="fl" for="yes_02">网上</label>
	 <input type="radio" name="rad"   value="" class="radio fl" id="yes_03"/><label class="fl" for="yes_03">没有买过</label>
	 </p>

	<p><b class="fl">4、</b><span class="fl">	您买过哪些成人用品？</span>	
	</p>
    <p class="no_b"><input type="checkbox" name="checkbox" value="checkbox" class="radio fl" id="yp_1"/><label class="fl" for="yp_1">安全套</label>
	 <input type="checkbox" name="standard[]"   value="BRAND" class="radio fl" id="yp_2"/><label class="fl" for="yp_2">震动棒  </label>
	 <input type="checkbox" name="standard[]"   value="PRICE" class="radio fl" id="yp_3"/><label class="fl" for="yp_3">飞机杯  </label>
	 <input type="checkbox" name="standard[]"   value="QUALITY" class="radio fl" id="yp_4"/><label class="fl" for="yp_4">情趣内衣   </label>
     <input type="checkbox" name="standard[]"   value="REPUTATION" class="radio fl" id="yp_5"/><label class="fl" for="yp_5">润滑液  </label>
      <input type="checkbox" name="standard[]"   value="REPUTATION" class="radio fl" id="yp_6"/><label class="fl" for="yp_6">夫妻共用振动器     </label>
     </p>
     <p class="no_b"> <input type="checkbox" name="inform[]"   value="OTHER"  class="radio fl" id="yp_10"/><label class="fl" for="yp_10">其他</label><INPUT TYPE="TEXT" class="fl"  NAME="other[inform]" SIZE="8" VALUE="" onfocus="javascript:document.getElementById('yp_10').checked=true" onblur="javascript:if(this.value=='')document.getElementById('yp_10').checked=false"/></p>

	<p><b class="fl">5、</b><span class="fl">您在网上购买产品的判断标准：</span>
	</p>
    <p class="no_b"><input type="checkbox" name="checkbox" value="checkbox" class="radio fl" id="pp_1"/><label class="fl" for="pp_1">产品品牌 </label>
	 <input type="checkbox" name="standard[]"   value="BRAND" class="radio fl" id="pp_2"/><label class="fl" for="pp_2">产品价格  </label>
	 <input type="checkbox" name="standard[]"   value="PRICE" class="radio fl" id="pp_3"/><label class="fl" for="pp_3">产品质量  </label>
	 <input type="checkbox" name="standard[]"   value="QUALITY" class="radio fl" id="pp_4"/><label class="fl" for="pp_4">产品口碑  </label>
     <input type="checkbox" name="standard[]"   value="REPUTATION" class="radio fl" id="pp_5"/><label class="fl" for="pp_5">产品声誉  </label>
      
     </p>
     <p class="no_b"> <input type="checkbox" name="inform[]"   value="OTHER"  class="radio fl" id="pp_10"/><label class="fl" for="pp_10">其他</label><INPUT TYPE="TEXT" class="fl"  NAME="other[inform]" SIZE="8" VALUE="" onfocus="javascript:document.getElementById('pp_10').checked=true" onblur="javascript:if(this.value=='')document.getElementById('pp_10').checked=false"/></p>

<p><b class="fl">6、</b><span class="fl">您比较喜欢哪些促销手段：</span></p>
<p class="no_b"><input type="checkbox" name="checkbox" value="checkbox" class="radio fl" id="cb_1"/><label class="fl" for="cb_1">打折 </label>
	 <input type="checkbox" name="standard[]"   value="BRAND" class="radio fl" id="cb_2"/><label class="fl" for="cb_2">专题促销  </label>
	 <input type="checkbox" name="standard[]"   value="PRICE" class="radio fl" id="cb_3"/><label class="fl" for="cb_3">购物返劵  </label>
	 <input type="checkbox" name="standard[]"   value="QUALITY" class="radio fl" id="cb_4"/><label class="fl" for="cb_4">购物送礼  </label>
     <input type="checkbox" name="standard[]"   value="REPUTATION" class="radio fl" id="cb_5"/><label class="fl" for="cb_5">免运费 </label>
      <input type="checkbox" name="standard[]"   value="REPUTATION" class="radio fl" id="cb_6"/><label class="fl" for="cb_6">积分 </label>
       <input type="checkbox" name="standard[]"   value="REPUTATION" class="radio fl" id="cb_7"/><label class="fl" for="cb_7">礼品卡 </label>
     </p>
     <p class="no_b"> <input type="checkbox" name="inform[]"   value="OTHER"  class="radio fl" id="cb_18"/><label class="fl" for="cb_18">其他</label><INPUT TYPE="TEXT" class="fl"  NAME="other[inform]" SIZE="8" VALUE="" onfocus="javascript:document.getElementById('cb_18').checked=true" onblur="javascript:if(this.value=='')document.getElementById('cb_18').checked=false"/></p>

     
<p><b class="fl">7、</b><span class="fl">有新品牌上线，或有新的折扣，您希望通过那种方式接收信息？</span></p>
<p class="no_b"><input type="checkbox" name="inform[]"   value="SMS"  class="radio fl" id="cb_15"/><label class="fl" for="cb_15">手机短信</label>
         <input type="checkbox" name="inform[]"   value="CATALOG"  class="radio fl" id="cb_16"/><label class="fl" for="cb_16">邮寄目录</label>
         
         <input type="checkbox" name="inform[]"   value="EMAIL"  class="radio fl" id="cb_17"/><label class="fl" for="cb_17">电子邮件</label>
         <input type="checkbox" name="inform[]"   value="PHONE"  class="radio fl" id="cb_18"/><label class="fl" for="cb_18">电话通知</label></p>
<p class="no_b"> <input type="checkbox" name="inform[]"   value="OTHER"  class="radio fl" id="cb_19"/><label class="fl" for="cb_19">其他</label><INPUT TYPE="TEXT" class="fl"  NAME="other[inform]" SIZE="8" VALUE="" onfocus="javascript:document.getElementById('cb_19').checked=true" onblur="javascript:if(this.value=='')document.getElementById('cb_19').checked=false"/></p>

<p><b class="fl">8、</b><span class="fl">您是否对自己的性生活感到满足？</span></p>
<p class="no_b"><input type="radio" checked="checked" name="category[]"   value="GARMENT" class="radio fl" id="cb_20"/><label class="fl" for="cb_20">非常满足</label>
         <input type="radio" name="category[]"   value="DECORATION" class="radio fl" id="cb_21"/><label class="fl" for="cb_21">满足 </label>
         <input type="radio" name="category[]"   value="SUITCASE" class="radio fl" id="cb_22"/><label class="fl" for="cb_22">一般 </label>
         <input type="radio" name="category[]"   value="SPORTS" class="radio fl" id="cb_23"/><label class="fl" for="cb_23">不满足</label></p>
<p><b class="fl">9、</b><span class="fl">是否可以接受借助成人用品来满足自己的性生活？</span></p>
<p class="no_b"><input type="radio" checked="checked" name="category2[]"   value="GARMENT" class="radio fl" id="mz_01"/><label class="fl" for="mz_01">可以接受   </label>
         <input type="radio" name="category2[]"   value="DECORATION" class="radio fl" id="mz_02"/><label class="fl" for="mz_02">可有可无    </label>
         <input type="radio" name="category2[]"   value="SUITCASE" class="radio fl" id="mz_03"/><label class="fl" for="mz_03">不能接受  </label>
     </p>
        
<p><b class="fl">10、</b><span class="fl">	如果您使用了一款成人用品，效果很棒，您会像您的朋友推荐吗？</span></p>
<p class="no_b"><input type="radio" checked="checked"  name="advice" value="ONEH" class="radio fl" id="adv_01"/><label class="fl" for="adv_01">肯定会</label>
		<input type="radio"  name="advice" value="TWOH" class="radio fl" id="adv_02"/><label class="fl" for="adv_02">可能会</label>
		<input type="radio"  name="advice" value="THREEH"  class="radio fl" id="adv_03"/><label class="fl" for="adv_03">绝对不会</label>
		</p>
<p><b class="fl">11、</b><span class="fl">您可以接受的每月网上消费金额？</span></p>
<p class="no_b"><input type="radio"  name="monthly_consume" value="ONEH" class="radio fl" id="cb_34"/><label class="fl" for="cb_34">100元以下</label>
		<input type="radio"  name="monthly_consume" value="TWOH" class="radio fl" id="cb_35"/><label class="fl" for="cb_35">101-200元</label>
		<input type="radio"  name="monthly_consume" value="THREEH"  class="radio fl" id="cb_36"/><label class="fl" for="cb_36">201-300元</label>
		<input type="radio"  name="monthly_consume" value="FIVEH" class="radio fl" id="cb_37"/><label class="fl" for="cb_37">301-500元</label>
		<input type="radio"  name="monthly_consume" value="TENH" class="radio fl" id="cb_38"/><label class="fl" for="cb_38">501-1000元</label></p>
<p class="no_b"><input type="radio"  name="monthly_consume" value="ELEVENH" class="radio fl" id="cb_39"/><label class="fl" for="cb_39">1001-3000元</label>
		<input type="radio"  name="monthly_consume" value="FIFTY" class="radio fl" id="cb_40"/><label class="fl" for="cb_40">3001-5000元</label>
		<input type="radio"  name="monthly_consume" value="FIFTYONE" class="radio fl" id="cb_41"/><label class="fl" for="cb_41">5001以上</label></p>

<p><b class="fl">12、</b><span class="fl">您对网上购物（消费）的顾虑是？</span></p>
<p class="no_b"><input type="checkbox" name="doubt[]"   value="QUALITY" class="radio fl" id="cb_42"/><label class="fl" for="cb_42">产品质量</label>　
         <input type="checkbox" name="doubt[]"   value="PAYMENT" class="radio fl" id="cb_43"/><label class="fl" for="cb_43">网上支付的安全性</label>
         <input type="checkbox" name="doubt[]"   value="SHIPMENT" class="radio fl" id="cb_44"/><label class="fl" for="cb_44">配送问题</label>
         <input type="checkbox" name="doubt[]"   value="AFTERSALES" class="radio fl" id="cb_45"/><label class="fl" for="cb_45">产品的售后服务</label></p>

</div>
</div>   


<p class="base_width" style="margin-bottom:10px"><input type="image"  src="img/tj.gif"/> 
<input type="image"  src="img/qbchongz.gif"/></p></div>
<script language="javascript" type="text/javascript" src="http://s1.vipshop.com/js/select3.js"></script>
<script type="text/javascript" src="http://s1.vipshop.com/js/show_div.js"></script> 
<script>

function showlayer(id,status){
	var obj = document.getElementById(id);
	obj.style.display = status;
	if(id == 'is_parent' && status == 'none') {
      var obj_arr = document.getElementsByName('is_parent');
      for(i=0; i<obj_arr.length; i++){
      	var obj = obj_arr[i];
          	if(!obj.value) {
          	    obj.checked=true;
          	} else {
          	    obj.checked=false;
          	}
      	}
	}
}

function check(from)
{
 
  var   a   =   document.getElementsByName("upchk[]");
  var   b   =   document.getElementsByName("product[]");
  var   c   =   document.getElementsByName("web_time[]");
  var   d   =   document.getElementsByName("likes[]");
  var   f   =   document.getElementsByName("web[]");
  var flag=true;
  var flag1=true;
  var flag2=true;
  var chkw = 0;
  var chk = 0;
  for(var i=0;i<a.length;i++)
  {
    if(a[i].checked)
	{
	 // flag = false;
	 chk++;
	}
  }
  //alert(chk);
  if(chk==0)
  {
    alert("请至少选择一项常购买商品!");
	return false;
  }
  if(chk>4)
  {
    alert("常购买商品最多只能选择四项!");
	return false;
  }
  for (var i=0; i<b.length;i++){
	  if(b[i].value)
	  {
	   
		 flag=false;
	  }	
	 
	  }	
	 if(flag)
	 {
	   alert("请至少填写一个您喜欢的品牌!");
	   return false;
	 }
	 
  for(var i=0;i<f.length;i++)
  {
    if(f[i].checked)
	{
	  chkw++;
	}
  }
  if(chkw==0)
  {
    alert("请至少选择一个您常上网的地点");
	return false;
  }	 
  for(var i=0;i<c.length;i++)
  {
    if(c[i].checked)
	{
	  flag1=false;
	}
  }	
  if(flag1)
  {
    alert("请至少选择一个您常上网的时间段");
	return false;
  } 
  for(var i=0;i<d.length;i++)
  {
    if(d[i].checked)
	{
	  flag2=false;
	}
  }
  if(flag2)
  {
    alert("请至少选择一项个人爱好！");
	return false;
  }
}

function success_fun()
{
   alert("success");
  // parent.showlayer();
//  parent.document.getElementById("inner_div").innerHTML="<div style='text-align:center;'>资料修改成功！</div><div></div>";
//  for(var i=0; i<document.all.tags("select").length;i++)
//		document.all.tags("select")[i].style.display="none";
}

</script>
<script>
var js_data = {"user_id":"14184290","mail":"0","name":"","is_married":"0","is_parent":"0","vocation":"7","standard":"BRAND","promotion":"DISCOUNT,FREIGHT","inform":"SMS,EMAIL","category":"GARMENT,COSMESTICS,HOMEUSE,APPLIANCE,ELETRIC","monthly_consume":"FIVEH","doubt":"QUALITY","surfplace":"","surftime":"NIGHT","education":"4","yearly_income":"1","consume_gravity":"6","standard_other":"","category_other":"","promotion_other":"","inform_other":"","add_time":"0"};


  var obj_arr = document.getElementsByTagName('input');
  for(i=0; i<obj_arr.length; i++){
  	var obj = obj_arr[i];
  	var length = obj.name.length;
  	if(obj.name.substr(length - 2) == '[]') {
  		tmpname = obj.name.substr(0,length - 2);
  	}

  	else tmpname = obj.name;
  	if(tmpname in js_data){
  		var choices = js_data[tmpname].split(",");
		for(j = 0; j<choices.length; j++){
  			if(obj.value == choices[j]) obj.checked = true;				
		}
  	}
  }
  
  var obj_arr = document.getElementsByTagName('select');
  for(i=0; i<obj_arr.length; i++){
  	var obj = obj_arr[i];
  	if(obj.name in js_data){
  		obj.value = js_data[obj.name];		
  	}
  }

  if(js_data.is_married == "1")	showlayer('is_parent',''); 
  

</script>
</form>
</body>
</html>

<!-- SiteCatalyst code version: H.24.1.
Copyright 1996-2011 Adobe, Inc. All Rights Reserved
More info available at http://www.omniture.com 
<script src="/static/js/s_code.js?v=1.01" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript"><!--
/* You may give each page an identifying name, server, and channel on
the next lines. */
oit_account('我的账户：个人资料-个人档案','我的账户页面','我的账户页面');
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code)//-</script>
<script language="JavaScript" type="text/javascript"><!--
if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
//</script><noscript><img src="http://vipshop.d2.sc.omtrdc.net/b/ss/vipshop-prd/1/H.24.1--NS/0"
height="1" width="1" border="0" alt="" /></noscript><!--/DO NOT REMOVE/-->
<!-- End SiteCatalyst code version: H.24.1. -->
